# -*- coding:utf-8 -*-

import sys, os, random

from datetime import datetime

from sqlalchemy.orm import  relationship
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy import Column, ForeignKey, Integer, String, Date, DateTime

sys.path.append(os.path.realpath(os.path.join(os.path.dirname(__file__), "../..")))

class db:

    from exchange.db.data.account import account
    class account(account):
        pass


if __name__ == '__main__':
    print(db.account.total())
    print(db.account.get_account_by_username("a"))
